package com.peng.ivos.dictoption.service;

import com.peng.ivos.base.response.JsonResult;
import com.peng.ivos.dictoption.pojo.dto.DictOptionQuery;
import com.peng.ivos.dictoption.pojo.dto.DictOptionSaveParam;

/**
 * 字典项业务层接口
 * @author： Peng
 * @date： 2024/5/27
 * @version: 1.0
 */
public interface DictOptionService {
    JsonResult getDictOptionList(DictOptionQuery dictOptionQuery);

    void saveDictOption(DictOptionSaveParam dictOptionSaveParam);

    JsonResult deleteDictOption(Long id);

    JsonResult selectDictOptionByCode(String code);
}
